package org.summer.lawyer.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;
import org.summer.lawyer.domain.vo.payorder.PayOrderVo;

/**
 * 支付成功事件
 */
@Getter
public class PaymentSuccessEvent extends ApplicationEvent {

    private PayOrderVo payOrderVo;

    public PaymentSuccessEvent(Object source) {
        super(source);
    }

    public PaymentSuccessEvent(Object source, PayOrderVo payOrderVo){
        super(source);
        this.payOrderVo = payOrderVo;
    }

}
